<#macro layout title="Default">
	<#assign tplName=.template_name />
	<#assign lastIdx=tplName?last_index_of( '.') />
	<#assign tplPath=tplName?substring(0, lastIdx) />
	<!DOCTYPE html>
	<html class="no-js" lang="zh-CN">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="x-ua-compatible" content="ie=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>${title}</title>
		<link rel="stylesheet" type="text/css" href="${baseUrl}/styles/fw.min.css" />
		<link rel="stylesheet" type="text/css" href="${baseUrl}/styles/global.css" />
		<link rel="stylesheet" type="text/css" href="${baseUrl}/tpl/${tplPath}.css" />
		<script src="${baseUrl}/js/fw.min.js" type="text/javascript"></script>
	</head>

	<body>
		<div class="container">
			<div class="row">
				<div class="col-md-12">
					<#nested/>
				</div>
			</div>
		</div>
		<script src="${baseUrl}/tpl/${tplPath}.js"></script>
	</body>

	</html>
</#macro>
